import edu.cqie.dao.StudentDao;
import edu.cqie.service.StudentService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import org.testng.annotations.Test;

/**
 * test
 *
 * @description:
 * @Author XiaoZhou
 * @Date 2023/11/13 20:39
 */
public class Mytest {
    @Test
    public void test(){
        ApplicationContext context = new ClassPathXmlApplicationContext("ApplicationContext.xml");
        StudentDao studentService = context.getBean("studentservice", StudentDao.class);
        studentService.getList();
    }
}
